let app = getApp()
Component({
    properties: {
         orderid:Number
      },
      data:{
        id: "",
        detail: {},
        page_path: "pages/services/order/info/index",
        currentData: 0,
        clientHeight: "",
      },
    lifetimes: {
        attached: function () {
           var that=this
           wx.request({
               url: app.globalData.siteroot,
               data: {
                 do:'Services_getOrder',
                 user_id:wx.getStorageSync('user_id'),
                 id:that.data.orderid
               },
               success: function(res) {
                  that.setData({
                    detail:res.data.info,
                    form_info:res.data.info.form_info
                  })
               }
             })
       }
      },
    methods: {
    }
});
